package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.domain.Dish;
import com.itheima.dto.DishDto;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Transactional
public interface DishService extends IService<Dish> {

    void saveWithFlavor(DishDto dishDto);

    void update(DishDto dishDto);

//    void delete(Long[] ids);

    void deleteDishWithFlavor(List<Long> ids);

}
